{if $bIsDeleted}
<div style="padding:6px;font-size:10pt;font-weight:bold;">
{language text="Mod_Site.page_deleted"}
</div>
{/if}
<table style="width:100%;">
{foreach from=$aPages item=aPage key=iKey}
<tr>
	<td class="row1" style="font-size:9pt;width:20px;text-align:center;">
	{$iKey+1}.
	</td>
	<td class="row1" style="font-size:9pt;">
 	<a href="{url link="public.`$aPage.title_url`"}">{$aPage.title_head}</a>
 	</td>
 	<td class="row1" style="font-size:9pt;width:140px;text-align:center;">
 	<a href="{url link="public.`$aPage.title_url`"}">{language text="Mod_Site.view"}</a> |
 	<a href="{url link='admin.main.pages' action='create' id=$aPage.page_id}">{language text="Mod_Site.edit"}</a> |
 	<a href="{url link='admin.main.pages' delete=$aPage.page_id}">{language text="Mod_Site.delete"}</a>
 	</td>
</tr>
{foreachelse}
<tr>
	<td style="padding:5px;font-size:9pt;">
	{language text="Mod_Site.no.pages"}
	</td>
</tr>
{/foreach}
</table>